﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace dmm
{
    public class AVRecordSetting
    {
        public int VideoDevice { get; set; }    
        public int AudioDevice{ get; set; }
        public int FPS{ get; set; }
        
        public int Width{ get; set; }
        public int Height{ get; set; }
        public int Left{ get; set; }
        public int Top{ get; set; }

        public string VideoFile { get; set; }
        public string ThumbnailFile { get; set; }

        public IntPtr PreviewWnd { get; set; }
       
        public AVRecordSetting()
        {
            VideoDevice = 0;
            AudioDevice = 0;

            VideoFile = null;
            ThumbnailFile = null;

            FPS = 25;

            Width = 320;
            Height = 240;
            Left = Top = 0;
        }

        public bool IsDesktopRecording
        {
            get { return VideoDevice == 0; }
        }
    }
}
